package com.cxhc.system.domain.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cxhc.common.annotation.Excel;

/**
 * 信息对象 cm_infom
 * 
 * @author Dhq
 * @String 2024-09-24
 */
public class CmInfom 
{
    /** $column.columnComment */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 来源 */
    @Excel(name = "来源")
    private String source;

    /** 发布时间 */
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private String pubTime;

    /** 发布人 */
    @Excel(name = "发布人")
    private String pubUser;

    /** 添加时间 */
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private String addTime;

    /** 最后读取时间 */
    @Excel(name = "最后读取时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private String lastReadTime;

    /** 最后读取人 */
    @Excel(name = "最后读取人")
    private Long lastReadUserId;

    /** 添加人 */
    @Excel(name = "添加人")
    private Long addUserId;

    /** 点击次数 */
    @Excel(name = "点击次数")
    private Long hits;

    /** 分类(0为公众号) */
    @Excel(name = "分类(0为公众号)")
    private Long cateId;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 置顶（0否，1是） */
    @Excel(name = "置顶", readConverterExp = "0=否，1是")
    private Long top;

    /** 置顶开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "置顶开始时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private String topBeginTime;

    /** 置顶结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "置顶结束时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private String topEndTime;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private String updateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private Long updateUserId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String imageIndex;

    /** 企业 ID(0为系统，其他为企业级 ID) */
    @Excel(name = "企业 ID(0为系统，其他为企业级 ID)")
    private Long entId;

    /** 企业名 */
    @Excel(name = "企业名")
    private String entName;

    /** 状态（1开放） */
    @Excel(name = "状态", readConverterExp = "1=开放")
    private Long status;

    /** 跳转链接 */
    @Excel(name = "跳转链接")
    private String link;

    /** 消息 ID(其他来源) */
    @Excel(name = "消息 ID(其他来源)")
    private String msgId;

    /** 可见组织名称 */
    @Excel(name = "可见组织名称")
    private String orgIds;

    /** 可见单位 ID */
    @Excel(name = "可见单位 ID")
    private String orgNames;

    /** 可见单位ID */
    @Excel(name = "可见单位ID")
    private String entIds;

    /** 可见单位名称 */
    @Excel(name = "可见单位名称")
    private String entNames;

    /** 可见个人ID */
    @Excel(name = "可见个人ID")
    private String userIds;

    /** 可见个人 名称 */
    @Excel(name = "可见个人 名称")
    private String userNames;

    /** 发布组织ID */
    @Excel(name = "发布组织ID")
    private Long orgId;

    /** 发布组织path */
    @Excel(name = "发布组织path")
    private String orgPath;

    /** 点赞数量 */
    @Excel(name = "点赞数量")
    private Long likeTotal;

    /** 最后点赞时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "最后点赞时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private String likeLastTime;

    /** 评论数量 */
    @Excel(name = "评论数量")
    private Long commentTotal;

    /** 最后评论时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "最后评论时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private String commentLastTime;

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setPubTime(String pubTime) 
    {
        this.pubTime = pubTime;
    }

    public String getPubTime() 
    {
        return pubTime;
    }
    public void setPubUser(String pubUser) 
    {
        this.pubUser = pubUser;
    }

    public String getPubUser() 
    {
        return pubUser;
    }
    public void setAddTime(String addTime) 
    {
        this.addTime = addTime;
    }

    public String getAddTime() 
    {
        return addTime;
    }
    public void setLastReadTime(String lastReadTime) 
    {
        this.lastReadTime = lastReadTime;
    }

    public String getLastReadTime() 
    {
        return lastReadTime;
    }
    public void setLastReadUserId(Long lastReadUserId) 
    {
        this.lastReadUserId = lastReadUserId;
    }

    public Long getLastReadUserId() 
    {
        return lastReadUserId;
    }
    public void setAddUserId(Long addUserId) 
    {
        this.addUserId = addUserId;
    }

    public Long getAddUserId() 
    {
        return addUserId;
    }
    public void setHits(Long hits) 
    {
        this.hits = hits;
    }

    public Long getHits() 
    {
        return hits;
    }
    public void setCateId(Long cateId) 
    {
        this.cateId = cateId;
    }

    public Long getCateId() 
    {
        return cateId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setTop(Long top) 
    {
        this.top = top;
    }

    public Long getTop() 
    {
        return top;
    }
    public void setTopBeginTime(String topBeginTime) 
    {
        this.topBeginTime = topBeginTime;
    }

    public String getTopBeginTime() 
    {
        return topBeginTime;
    }
    public void setTopEndTime(String topEndTime) 
    {
        this.topEndTime = topEndTime;
    }

    public String getTopEndTime() 
    {
        return topEndTime;
    }
    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }
    public void setImageIndex(String imageIndex) 
    {
        this.imageIndex = imageIndex;
    }

    public String getImageIndex() 
    {
        return imageIndex;
    }
    public void setEntId(Long entId) 
    {
        this.entId = entId;
    }

    public Long getEntId() 
    {
        return entId;
    }
    public void setEntName(String entName) 
    {
        this.entName = entName;
    }

    public String getEntName() 
    {
        return entName;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }
    public void setMsgId(String msgId) 
    {
        this.msgId = msgId;
    }

    public String getMsgId() 
    {
        return msgId;
    }
    public void setOrgIds(String orgIds) 
    {
        this.orgIds = orgIds;
    }

    public String getOrgIds() 
    {
        return orgIds;
    }
    public void setOrgNames(String orgNames) 
    {
        this.orgNames = orgNames;
    }

    public String getOrgNames() 
    {
        return orgNames;
    }
    public void setEntIds(String entIds) 
    {
        this.entIds = entIds;
    }

    public String getEntIds() 
    {
        return entIds;
    }
    public void setEntNames(String entNames) 
    {
        this.entNames = entNames;
    }

    public String getEntNames() 
    {
        return entNames;
    }
    public void setUserIds(String userIds) 
    {
        this.userIds = userIds;
    }

    public String getUserIds() 
    {
        return userIds;
    }
    public void setUserNames(String userNames) 
    {
        this.userNames = userNames;
    }

    public String getUserNames() 
    {
        return userNames;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setOrgPath(String orgPath) 
    {
        this.orgPath = orgPath;
    }

    public String getOrgPath() 
    {
        return orgPath;
    }
    public void setLikeTotal(Long likeTotal) 
    {
        this.likeTotal = likeTotal;
    }

    public Long getLikeTotal() 
    {
        return likeTotal;
    }
    public void setLikeLastTime(String likeLastTime) 
    {
        this.likeLastTime = likeLastTime;
    }

    public String getLikeLastTime() 
    {
        return likeLastTime;
    }
    public void setCommentTotal(Long commentTotal) 
    {
        this.commentTotal = commentTotal;
    }

    public Long getCommentTotal() 
    {
        return commentTotal;
    }
    public void setCommentLastTime(String commentLastTime) 
    {
        this.commentLastTime = commentLastTime;
    }

    public String getCommentLastTime() 
    {
        return commentLastTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("source", getSource())
            .append("pubTime", getPubTime())
            .append("pubUser", getPubUser())
            .append("addTime", getAddTime())
            .append("lastReadTime", getLastReadTime())
            .append("lastReadUserId", getLastReadUserId())
            .append("addUserId", getAddUserId())
            .append("hits", getHits())
            .append("cateId", getCateId())
            .append("content", getContent())
            .append("top", getTop())
            .append("topBeginTime", getTopBeginTime())
            .append("topEndTime", getTopEndTime())
            .append("updateTime", getUpdateTime())
            .append("updateUserId", getUpdateUserId())
            .append("imageIndex", getImageIndex())
            .append("entId", getEntId())
            .append("entName", getEntName())
            .append("status", getStatus())
            .append("link", getLink())
            .append("msgId", getMsgId())
            .append("orgIds", getOrgIds())
            .append("orgNames", getOrgNames())
            .append("entIds", getEntIds())
            .append("entNames", getEntNames())
            .append("userIds", getUserIds())
            .append("userNames", getUserNames())
            .append("orgId", getOrgId())
            .append("orgPath", getOrgPath())
            .append("likeTotal", getLikeTotal())
            .append("likeLastTime", getLikeLastTime())
            .append("commentTotal", getCommentTotal())
            .append("commentLastTime", getCommentLastTime())
            .toString();
    }
}
